﻿using UnityEngine;
using System.Collections;

public class MoonMe : MonoBehaviour {
	public float time;
	// Use this for initialization
	 private GameObject Sun;
	void Start () 
	{
		Sun = GameObject.Find("sun_art");
	}
	
	// Update is called once per frame
	void Update () 
	{
		time = Time.time;
		if(!Sun.renderer.enabled)
		{
			GetComponent<timedMove>().enabled = true;
		}
	}
}
